package com.example.demo.pojo;

public class Sc {
    private Integer sno;

    private Integer cno;

    private Integer grade;
    private Student student;

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Integer getSno() {
        return sno;
    }

    public void setSno(Integer sno) {
        this.sno = sno;
    }

    public Integer getCno() {
        return cno;
    }

    public void setCno(Integer cno) {
        this.cno = cno;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Sc{" +
                "sno=" + sno +
                ", cno=" + cno +
                ", grade=" + grade +
                ", student=" + student +
                '}';
    }
}